﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/StudentWeb.Master"  CodeBehind="DataEntry.aspx.cs" Inherits="StudentWebWithMasterPage.DataEntry" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="Main" style="text-align:center">
        <table style="width: 100%;" cellspacing="5px">
            <tr>
                <td style="text-align:right">
                    <asp:Label ID="Label1" runat="server" Text="First Name"></asp:Label>
                </td>
                <td style="text-align:left">
                    <asp:TextBox ID="txtFirstName" runat="server" Width="150px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="text-align:right">
                    <asp:Label ID="Label2" runat="server" Text="Last Name"></asp:Label>
                </td>
                <td style="text-align:left">
                    <asp:TextBox ID="txtLastName" runat="server" Width="150px"></asp:TextBox>
                </td>

            </tr>
            <tr>
                <td style="text-align:right">
                    <asp:Label ID="Label3" runat="server" Text="Street Address"></asp:Label>
                </td>
                <td style="text-align:left">
                    <asp:TextBox ID="txtStreetAddress" runat="server" TextMode="MultiLine" Width="300px" ></asp:TextBox>
                </td>

            </tr>
            <tr>
                <td style="text-align:right">
                    <asp:Label ID="Label4" runat="server" Text="City"></asp:Label>
                </td>
                <td style="text-align:left">
                    <asp:TextBox ID="txtCity" runat="server" Width="150px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="text-align:right">
                    <asp:Label ID="Label5" runat="server" Text="State"></asp:Label>
                </td>
                <td style="text-align:left">
                    <asp:TextBox ID="txtState" runat="server" Width="50px" MaxLength="2" ></asp:TextBox>
                </td>

            </tr>
            <tr>
                <td style="text-align:right">
                    <asp:Label ID="Label6" runat="server" Text="Zip"></asp:Label>
                </td>
                <td style="text-align:left">
                    <asp:TextBox ID="txtZip" runat="server"></asp:TextBox>
                </td>

            </tr>

        </table>
        <asp:Button ID="btnOk" runat="server" Text="Ok" CssClass="Button" onclick="btnOk_Click" />
        &nbsp;
        <asp:Button ID="btnClear" runat="server" Text="Clear" 
            onclick="btnClear_Click" CssClass="Button" />
    </div>
</asp:Content>